package zjt.collection1;

import java.util.ArrayList;
import java.util.Collection;

public class demo1 {
    public static void main(String[] args) {
        Collection collection = new ArrayList();
        collection.add(1);
        collection.add("a");
        collection.add("true");
        System.out.println(collection);
        collection.remove("a");
        collection.clear();

    }
}
